import Layout from "@/layout";

export const menus = [
  {
    path: "/404",
    component: () => import("@/views/404"),
    hidden: true
  },
  {
    path: "/login",
    component: () => import("@/views/login/login"),
    hidden: true
  },
  {
    path: "/",
    component: Layout,
    redirect: "/index",
    children: [
      {
        path: "/index",
        name: "首页",
        component: () => import("@/views/login/index"),
        meta: { title: "首页", icon: "dashboard" }
      }
    ]
  },
  { path: "*", redirect: "/404", hidden: true }
];
